package com.dingwen.treasure.influxdb.service;

import com.dingwen.treasure.influxdb.pojo.IotData;
import com.influxdb.query.FluxTable;

import java.util.List;

/**
 * 物联网数据服务
 *
 * @author dingwen
 * @date 2023/01/09
 */
public interface IotDataService<T> extends BaseInlfuxdbService<T> {


    /**
     * 查询
     *
     * @param fluxScript flux查询脚本
     * @return {@link List}<{@link FluxTable}> 多个序列
     */
    List<IotData> queryData(String fluxScript);
}
